home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-09 | 754 b | 34 lines | [TEXT/MPS ] |
- ### File: RezC.STRlist
- ### Generate Rez input for STR# Resources
- ### W. Powell 1988
-
- Set Exit 0
- Set rid {1}
- Shift 1
- Echo -n "Resource ∂'STR#∂' ({rid}"
- If "{1}" == "-nms"
- Set rname "{2}"
- If ("{rname}" != "")
- Echo -n ,∂""{rname}"∂"
- End
- Shift 2
- End
- Set Str "{1}"
- Shift 1
-
- If ( "{1}" == "-sy" ) ; Echo -n ",SysHeap" ; Shift ; End
- If ( "{1}" == "-pu" ) ; Echo -n ",Purgeable" ; Shift ; End
- If ( "{1}" == "-lo" ) ; Echo -n ",Locked" ; Shift ; End
- If ( "{1}" == "-Pr" ) ; Echo -n ",Protected" ; Shift ; End
- If ( "{1}" == "-PL" ) ; Echo -n ",PreLoad" ; Shift ; End
- Echo ") ∂{ ∂{"
- Echo -n "∂t∂"{Str}∂""
- Loop # for more strings
- RezC.STRlist.more…
- Break If {Status} == 100
- End
- Echo "∂t∂} ∂};"
- Exit 0
-
- ### End File RezC.STRlist
- ##############################